package org.windowkit.toolkit.widget.table.event;

import org.windowkit.toolkit.widget.table.RecordTablePane;

/**
 * Any class implementing this interface and adding itself as a
 * DataRequestedListener will be able to receive next/previous data requested
 * events form a {@link RecordTablePane}.
 *
 * @author Eric Lundin
 *
 */
public interface DataRequestedListener {
	/**
	 * This method will be called when the user chooses to view the next X
	 * results in the table
	 *
	 */
	public void nextDataRequested(DataRequestedEvent dre);

	/**
	 * This method will be called when the user chooses to view the previous X
	 * results in the table
	 *
	 */
	public void previousDataRequested(DataRequestedEvent dre);
}